package cn.bonoon.kernel.descriptors;

import java.util.Collection;

public interface EntityDescriptor extends ClassDescriptor{
	
	int BASE 		= 0b00000000000000000000000000000001;
	int TREE 		= 0b00000000000000000000000000000010;
	int MOVABLE 	= 0b00000000000000000000000000000100;
	int DELETABLE 	= 0b00000000000000000000000000001000;
	int RECYCLABE 	= 0b00000000000000000000000000010000;
	int STATUS 		= 0b00000000000000000000000000100000;
	int SCOPABLE 	= 0b00000000000000000000000001000000;
//	int OWNER 		= 0b00000000000000000000000010000000;
	
	int TREEMOVABLE = TREE | MOVABLE;
	int LL = 1 << 31;
	
	EntityPropertyAccessor get(String name);
	Collection<EntityPropertyAccessor> values();
	boolean is(int md);
	int code();
}
